package com.common.myspring.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: xuxiang
 * @Date: 2023-8-26 14:22:22
 * @Description: bean注入容器
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Component {

    /**
     * 自定义容器bean的名称
     */
    String value() default "";
}
